package com.bmldyq.family.gateway.configuration;

import com.bmldyq.family.gateway.filter.AuthChkFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

@Configuration
public class AuthFilterConfig {

    @Order(-1)
    @Bean
    public AuthChkFilter authChkFilter(){
        return new AuthChkFilter();
    }
}
